package czk.jvm.lecture.classloader.practice;

/**
 * @Author:ChenZhangKun
 * @Date: 2020/7/2 22:17
 */
public class Test1 {
    public static void main(String[] args) {
        Person[] people=new Person[5];
        int[] ints=new int[1];
        long[] longs=new long[1];
        short[] shorts=new short[1];
        char[] chars=new char[1];
        float[] floats=new float[1];
        byte[] bytes=new byte[1];
        boolean[] booleans=new boolean[1];
        double[] doubles=new double[1];
        System.out.println("int->  " + ints.getClass());
        System.out.println("long->  " +longs.getClass());
        System.out.println("short->  " +shorts.getClass());
        System.out.println("char->  " +chars.getClass());
        System.out.println("float->  " +floats.getClass());
        System.out.println("byte->  " +bytes.getClass());
        System.out.println("boolean->  " +booleans.getClass());
        System.out.println("double->  " +doubles.getClass());



        System.out.println(people.getClass().getSuperclass());
    }
}
class Person extends Live{
    static {
        System.out.println("czk");
    }
}
class Live{

}
